﻿
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace DH.Core
{
   public static class Global
    {
        public static IServiceProvider ServiceProvider { get; set; }
        public static IConfigurationRoot Configuration { get; set; }

        public static string ConfigValue(string key)
        {
            var configValue= Configuration[key];
            return configValue ?? "";
        }

        
    }
}
